<div class="zs-ibox">
	<div class="zs-btnbox">
		<div class="zs-location"> 
	            <a href="#" class="home" ng-click="BackTOTask();"><span>运营管理</span></a> <i class="arrow"></i> 
	            <a href="#"><span>现场考核</span></a> 
   		</div>
  		<input type="button" value="返回" class="zs-btn" style="float: right;" ng-click="BackTOTask();">
	</div>
	<table  class="zs-form-tab">
         <tbody>
             <td>运维组：</td>
             <td>                
                  	<ul class="zs-data-sizer">
						<li ng-repeat="curRow in groups" ng-class="{selected:curRow.selected}" >
							<a href="#" ng-click="toggleGroup(curRow)">{{curRow.GROUP_NAME}}</a>
						</li>
					</ul>
               </td>
             </tr>
             <tr>
              <td>时间：</td>
               <td>
              <label>起始日期</label>
              &nbsp;
              <ag-Datebox class="zs-input"
						ng-model="queryObject.start" ></ag-Datebox>
						&nbsp;
			   <label>结束日期</label>
			   &nbsp;
			   <ag-Datebox class="zs-input" 
					ng-model="queryObject.end" ></ag-Datebox>
              </td>
             </tr>
             <tr>
             <td>被考核人：</td>
             <td>
                <input type="text" class="zs-input" ng-model="queryObject.OPERATORS"> 
                <input type="button" value="查询" class="zs-btn" ng-click="getSiteExamineList()"> 
              </td>
             </tr>
		</tbody>
	</table>
	<div>
		<table class="zs-data-tab" width="100%">
			<thead>
	            <tr>
	                <th class="head">污染源</th>
	                <th class="head">监测点</th>
	                <th class="head">考核人</th>
	                <th class="head">被考核人</th>
	                <th class="head">运维组</th>
	                <th class="head">考核时间</th>
	                <th class="head">总扣分</th>
	                <th class="head">最后得分</th>
	                <th class="head">操作</th>
	            </tr>
        	</thead>
        	<tbody>
           		<tr ng-repeat="curRow in httpData.SiteExamineList.data" class="{{ isDoubleNum($index) ? 'even':'' }}">
		    		<td class="center">
		        		<a><label ng-bind="curRow.NAME"></label></a>
				    </td>
				    <td class="center">
				        <a><label ng-bind="curRow.FLOW_TYPE"></label></a>
				    </td>
				    <td class="center">
				        <a><label ng-bind="curRow.EXAMINER"></label></a>
				    </td>
				    <td class="center">
				        <a><label ng-bind="curRow.OPERATORS"></label></a>
				    </td>
				    <td class="center">
				        <a><label ng-bind="curRow.GROUP_NAME"></label></a>
				    </td>
				    <td class="center">
				        <a><label ng-bind="curRow.EXAM_DATE"></label></a>
				    </td>
				    <td class="center">
				        <a><label ng-bind="curRow.TOTAL_SCORE"></label></a>
				    </td>
				    <td class="center">
				        <a><label ng-bind="20+curRow.TOTAL_SCORE"></label></a>
				    </td>
				    <td class="center">
				        <a	style="cursor: pointer" ng-click="openExamineDetail(curRow)">详情</a>
				    </td>
				</tr>  
        	</tbody>
    	</table>
    </div>
    <div class="zs-page"> 
	        <a ng-click="waterDataCommon.firstPage(httpData.SiteExamineList,queryObject)">首页</a>
	        <a class="pre" ng-click="waterDataCommon.prePage(httpData.SiteExamineList,queryObject)">上一页</a>
	        <a class="next" ng-click="waterDataCommon.nextPage(httpData.SiteExamineList,queryObject)">下一页</a>
	        <a ng-click="waterDataCommon.lastPage(httpData.SiteExamineList,queryObject)">尾页</a>
			        共<strong><label ng-bind="httpData.SiteExamineList.pageInfo.rowCount"></label></strong>条数据 - 
			        第<strong><label ng-bind="httpData.SiteExamineList.pageInfo.pageIndex"></label></strong>页 - 
			        共<strong><label ng-bind="httpData.SiteExamineList.pageInfo.pageCount"></label></strong>页
	</div>
</div>

<div itfreer-Window id="examineDetail" title="详情" width='710' height='380'>
		<table class="zs-data-tab" width="100%">
			<thead>
	            <tr>
<!-- 	                <th class="head">污染源</th> -->
<!-- 	                <th class="head">监测点</th> -->
<!-- 	                <th class="head">考核人</th> -->
<!-- 	                <th class="head">被考核人</th> -->
<!-- 	                <th class="head">考核时间</th> -->
	                <th class="head border">考核内容</th>
	                <th class="head border">考核子项</th>
	                <th class="head border">考核结果</th>
	                <th class="head border">扣分</th>
	                <th class="head border">备注</th>
	            </tr>
        	</thead>
        	<tbody>
           		<tr ng-repeat="curRow in filteredDisplayList" class="{{ isDoubleNum($index) ? 'even':'' }}">
<!-- 		    		<td class="center"> -->
<!-- 		        		<a><label ng-bind="curRow.WWTP_NAME"></label></a> -->
<!-- 				    </td> -->
<!-- 				    <td class="center"> -->
<!-- 				        <a><label ng-bind="curRow.FLOW_TYPE"></label></a> -->
<!-- 				    </td> -->
<!-- 				    <td class="center"> -->
<!-- 				        <a><label ng-bind="curRow.EXAMINER"></label></a> -->
<!-- 				    </td> -->
<!-- 				    <td class="center"> -->
<!-- 				        <a><label ng-bind="curRow.OPERATORS"></label></a> -->
<!-- 				    </td> -->
<!-- 				    <td class="center"> -->
<!-- 				        <a><label ng-bind="curRow.EXAMINE_DATE"></label></a> -->
<!-- 				    </td> -->
				    <td class="center border" rowspan="{{curRow.ROWSPAN}}" ng-if="curRow.ROWSPAN>1">
				        <a><label ng-bind="curRow.EXAMINE_TYPE"></label></a>
				    </td>
				    <td class="center border">
				        <a><label ng-bind="curRow.EXAMINE_ITEM"></label></a>
				    </td>
				    <td class="center border"  ng-class="{datared:(curRow.RESULT=='1')}">
				        <a><label ng-bind="curRow.RESULT_CAPTION"></label></a>
				    </td>
				    <td class="center border" rowspan="{{curRow.ROWSPAN}}" ng-if="curRow.ROWSPAN>1">
				        <a><label ng-bind="curRow.SCORE"></label></a>
				    </td>
				    <td class="center border" rowspan="{{curRow.ROWSPAN}}" ng-if="curRow.ROWSPAN>1">
				        <a><label ng-bind="curRow.NOTE"></label></a>
				    </td>
				</tr>  
        	</tbody>
    	</table>
</div>